﻿using System;
using System.ComponentModel.DataAnnotations.Schema;
using Sharp.Domain.CMSBoundedContext.VIUModule.Aggregates;
using Sharp.Domain.Model;

namespace Sharp.Domain.CMSBoundedContext.MemberModule.Aggregates
{
    public partial class Favorite: AggregateRoot
    {
        public Favorite()
        {
        }
         
        public string Title { get; set; }
        public Guid VIUId { get; set; }
        public Guid? UserId { get; set; }
        public int Visit { get; set; }
        public System.DateTime? LastVisit { get; set; }

        [ForeignKey("VIUId")]
        public virtual VIU VIU { get; set; }
    }
}